package com.sky.his.api.db.dao;

import com.sky.his.api.db.pojo.UserEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

/**
 * @author WangJiyou
 * @description 针对表【tb_user(用户表)】的数据库操作Mapper
 * @createDate 2024-11-08 16:36:14
 * @Entity com.sky.his.api.db.pojo.UserEntity
 */
public interface UserDao {

    Set<String> searchUserPermissions(int userId);

    Integer login(Map param);

    String searchUsernameById(int userId);

    int updatePassword(Map param);

    ArrayList<HashMap> searchByPage(Map param);

    long searchCount(Map param);

    int insert(UserEntity user);

    HashMap searchById(int userId);

    int update(Map params);


    int deleteByIds(Integer[] ids);

    int dismiss(int userId);

    HashMap searchDockerById(int userId);
}




